<template>
	<div class="container-fluid">
		<div class="page-header">
			<h1 class="page-heading">科室历史患者</h1>
		</div>
		<div class="card mb-4">
			<div class="card-header d-flex justify-content-between align-items-center">
				<div class=""><h4 class="card-heading">Basic Table</h4></div>
				<div class="col-3 col-sm-5 col-md-5 col-lg-4 col-xl-5 col-xxl-3 d-flex">
					<input type="text" class="form-control" placeholder="患者姓名" >
          <button class="btn btn-light text-nowrap mx-2">查询</button>
          <button class="btn btn-primary text-nowrap" @click="$router.push({name:'AddPatient'})">添加患者</button>
				</div>
			</div>
			<div class="card-body overflow-auto">
				<table class="table">
					<thead>
						<tr class="table-secondary">
							<th scope="col">住院号</th>
							<th scope="col">姓名</th>
							<th scope="col">历史住院号</th>
							<th scope="col">性别</th>
							<th scope="col">医院</th>
							<th scope="col">科室</th>
							<th scope="col">医生</th>
							<th scope="col">当前医院</th>
							<th scope="col">当前科室</th>
							<th scope="col">当前病区</th>
							<th scope="col">最近出科时间</th>
							<th scope="col">操作</th>
						</tr>
					</thead>
					<tbody>
						<tr v-for="item in 10" :key="item">
							<th scope="row">1</th>
							<td>Mark</td>
							<td>Otto</td>
							<td>@mdo</td>
							<td>@mdo</td>
							<td>@mdo</td>
							<td>@mdo</td>
							<td>@mdo</td>
							<td>@mdo</td>
							<td>@mdo</td>
							<td>@mdo</td>
							<td><button class="btn btn-primary text-nowrap"  @click="$router.push({name:'EditPatient'})">编辑</button></td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</template>

<script>
</script>

<style>
</style>
